package com.baiyang.app.model;


import java.util.List;

/**
 * @author XVX - generator
 * @version 1
 */
public class Article {
	//唯一ID
	private String id;
	//作者ID
	private String authorId;
	// 作者名称
	private String authorName;
	//文章名称
	private String articleName;
	//公告简介
	private String introduction;
	//字符数
	private Integer num;
	// 阅读数量
	private Integer readerNum;
	//状态：0未发布 1审核 2发布 3作废
	private String state;
	//创建时间
	private String createTime;
	// 封面图片
	private String coverPic;
	// 实际内容
	private String content;
	private List<ArticleType> articleTypes;
	private String typesName;
	//是否有效：1-有效，0-无效
	private String available = "1";
	//是否删除：1-删除，0-不删除
	private String del = "0";
	
	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getAuthorId(){
		return authorId;
	}
	public void setAuthorId(String authorId){
		this.authorId = authorId;
	}
	public String getArticleName(){
		return articleName;
	}
	public void setArticleName(String articleName){
		this.articleName = articleName;
	}
	public String getIntroduction(){
		return introduction;
	}
	public void setIntroduction(String introduction){
		this.introduction = introduction;
	}
	public Integer getNum(){
		return num;
	}
	public void setNum(Integer num){
		this.num = num;
	}
	public String getState(){
		return state;
	}
	public void setState(String state){
		this.state = state;
	}
	public String getCreateTime(){
		return createTime;
	}
	public void setCreateTime(String createTime){
		this.createTime = createTime;
	}
	public String getAvailable(){
		return available;
	}
	public void setAvailable(String available){
		this.available = available;
	}
	public String getDel(){
		return del;
	}
	public void setDel(String del){
		this.del = del;
	}

	public String getCoverPic() {
		return coverPic;
	}

	public void setCoverPic(String coverPic) {
		this.coverPic = coverPic;
	}

	public String getAuthorName() {
		return authorName;
	}

	public void setAuthorName(String authorName) {
		this.authorName = authorName;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public List<ArticleType> getArticleTypes() {
		return articleTypes;
	}

	public void setArticleTypes(List<ArticleType> articleTypes) {
		this.articleTypes = articleTypes;
	}

	public Integer getReaderNum() {
		return readerNum;
	}

	public void setReaderNum(Integer readerNum) {
		this.readerNum = readerNum;
	}

	public String getTypesName() {
		return typesName;
	}

	public void setTypesName(String typesName) {
		this.typesName = typesName;
	}
}
